Morning\WC\Base\Base_Payment_Gateway A

Total Complexity 51
Dependencies 8
Dependents 3
Total lines 542
Lines of code 264
Logical lines of code 135
Comment lines 158
Methods 18
Properties 5

Methods 18

Method Rating Maintainability Complexity Lines of code
check_ipn_response()
A
51 8 26
__construct()
S
49 5 30
process_payment()
S
51 5 26
process_refund()
S
51 5 24
handle_ipn_response()
S
51 4 26
receipt_page()
S
55 4 18
process_scheduled_payment()
S
56 3 18
handle_failure_response()
S
56 2 17
can_refund_order()
S
76 3 3
get_gateway_url()
S
60 2 13
init_form_fields()
S
53 1 24
register_hooks()
S
65 2 8
payment_fields()
S
71 2 6
handle_success_response()
S
62 1 11
supports_currency()
S
74 1 4
is_capable_of()
S
74 1 4
needs_setup()
S
79 1 3
get_installments()
S
79 1 3